package com.yaoli.SheJiMoShi.Decorator;

/**
 * Created by YaoLi on 2017/9/29.
 *
 * 男性修饰类
 */
public class ManDecorator extends Person {

    public Person person;

    public ManDecorator(Person person){
        this.person = person;
    }

    @Override
    public void introduce(String name, Integer age) {
        this.person.introduce(name, age);
    }
}
